import interfine from '../../utils/request'


// URL：https://m.ximalaya.com/m-revision/page/category/queryCategoriesV2
export const reqCategoryList = () => {
    return interfine.get('/m-revision/page/category/queryCategoriesV2')
}
// https://m.ximalaya.com/revision/category/v2/metadata/info?categoryId={categoryId}
export const reqCategoryItem = (categoryId) => {
    return interfine.get(`/revision/category/v2/metadata/info?categoryId=${categoryId}`)
}